<template>
    <video class="video" preload="auto" controls :src="msg.content.content" playsinline>
    </video>
</template>

<script setup lang="ts">
import * as api from '../api'

const props = defineProps<{
    msg: api.VideoContent
}>()

</script>

<style scoped>
.video {
    max-width: 200px;
}
</style>